import { BaseEventIndicatorModel } from "../../../../../../shared/models/baseEventIndicator.model";

export class EventIndicatorModel extends BaseEventIndicatorModel  {    
    public companyId: string;    
    public eventCategory: number;
    public eventCategoryTest: string;
    public eventJustification: string;
    public incidents: EventIncidentModel[];    
    public outlook: number;
}

class EventIncidentModel {
    public mainIncidents: IncidentModel[];
    public updates: IncidentUpdateModel[];
}

class IncidentModel {
    public date: string;
    public externalUrl: string;
    public incidentDate: string;
    public name: string;
    public source: string;
}  

class IncidentUpdateModel {
    public name: string;
    public source: string;
    public date: string;
    public incidentDate: string;
    public externalUrl: string;
}

